package com.gt.web.srv.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

/**
 * 村民
 * @TableName biz_people
 */
@TableName(value ="biz_people")
@Data
@Builder
public class People extends BaseAuto {
    /**
     * 村民ID
     */
    @TableId(value = "people_id", type = IdType.AUTO)
    private Long peopleId;

    /**
     * 小程序ID
     */
    @TableField(value = "open_id")
    private String openId;

    /**
     * 小程序unionId
     */
    @TableField(value = "union_id")
    private String unionId;

    /**
     * 小程序昵称
     */
    @TableField(value = "open_nick")
    private String openNick;

    /**
     * 微信头像
     */
    @TableField(value = "open_avatar_url")
    private String openAvatarUrl;

    /**
     * 是否户主
     */
    @TableField(value = "is_head")
    private Integer isHead;

    /**
     * 户主身份证号
     */
    @TableField(value = "head_card")
    private String headCard;

    /**
     * 姓名
     */
    @TableField(value = "people_name")
    private String peopleName;

    /**
     * 手机
     */
    @TableField(value = "people_mobile")
    private String peopleMobile;

    /**
     * 身份证
     */
    @TableField(value = "people_card")
    private String peopleCard;

    /**
     * 性别
     */
    @TableField(value = "people_sex")
    private Integer peopleSex;

    /**
     * 出生年月
     */
    @TableField(value = "people_birth")
    private String peopleBirth;

    /**
     * 住址
     */
    @TableField(value = "people_address")
    private String peopleAddress;

    /**
     * 社区
     */
    @TableField(value = "community_id")
    private Integer communityId;

    /**
     * 网格
     */
    @TableField(value = "grid_id")
    private Integer gridId;

    /**
     * 是否党员 0:否,1:是
     */
    @TableField(value = "is_party")
    private Integer isParty;

    /**
     * 是否是网格员 0:否,1:是
     */
    @TableField(value = "is_grid")
    private Integer isGrid;

    /**
     * 是否是村委 0:否,1:是
     */
    @TableField(value = "is_committee")
    private Integer isCommittee;

    /**
     * 状态（0:待审核 1:已审核）
     */
    @TableField(value = "status")
    private String status;

}